<?php
  
  require_once("[com_path2]/dompdf_config.inc.php");
  require_once("[com_path2]/dompdf.php"); 
  
  /*if ( isset( $_POST["html"] ) ) {

  if ( get_magic_quotes_gpc() )
    $_POST["html"] = stripslashes($_POST["html"]); */
  
  
  $html = "<h1>Bubble Tooltips</h1>";
  $old_limit = ini_set("memory_limit", "16M");
  
  $dompdf = new DOMPDF();
  $dompdf->load_html($html);
  //$dompdf->set_paper($_POST["paper"], $_POST["orientation"]);
  $dompdf->render();

  $dompdf->stream("../../../tmp/dompdf_out.pdf");

  exit(0);

  
  //}
  
  
?>
